3.67 \(\int e^{2 x} \cos (e^x) \, dx\)

Optimal. Leaf size=13 \[ e^x \sin \left (e^x\right )+\cos \left (e^x\right ) \]

[Out]

cos(exp(x))+exp(x)*sin(exp(x))

________________________________________________________________________________________

Rubi [A]  time = 0.02, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.300, Rules used = {2282, 3296, 2638} \[ e^x \sin \left (e^x\right )+\cos \left (e^x\right ) \]

Antiderivative was successfully verified.

[In]

Int[E^(2*x)*Cos[E^x],x]

[Out]

Cos[E^x] + E^x*Sin[E^x]

Rule 2282

Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Dist[v/D[v, x], Subst[Int[FunctionOfExponentialFu
nction[u, x]/x, x], x, v], x]] /; FunctionOfExponentialQ[u, x] &&  !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; F
reeQ[{a, m, n}, x] && IntegerQ[m*n]] &&  !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x))*(F_)[v_] /; FreeQ[{a, b, c}, x
] && InverseFunctionQ[F[x]]]

Rule 2638

Int[sin[(c_.) + (d_.)*(x_)], x_Symbol] :> -Simp[Cos[c + d*x]/d, x] /; FreeQ[{c, d}, x]

Rule 3296

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> -Simp[((c + d*x)^m*Cos[e + f*x])/f, x] +
Dist[(d*m)/f, Int[(c + d*x)^(m - 1)*Cos[e + f*x], x], x] /; FreeQ[{c, d, e, f}, x] && GtQ[m, 0]

Rubi steps

\begin {align*} \int e^{2 x} \cos \left (e^x\right ) \, dx &=\operatorname {Subst}\left (\int x \cos (x) \, dx,x,e^x\right )\\ &=e^x \sin \left (e^x\right )-\operatorname {Subst}\left (\int \sin (x) \, dx,x,e^x\right )\\ &=\cos \left (e^x\right )+e^x \sin \left (e^x\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 13, normalized size = 1.00 \[ e^x \sin \left (e^x\right )+\cos \left (e^x\right ) \]

Antiderivative was successfully verified.

[In]

Integrate[E^(2*x)*Cos[E^x],x]

[Out]

Cos[E^x] + E^x*Sin[E^x]

________________________________________________________________________________________

fricas [A]  time = 0.60, size = 10, normalized size = 0.77 \[ e^{x} \sin \left (e^{x}\right ) + \cos \left (e^{x}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(2*x)*cos(exp(x)),x, algorithm="fricas")

[Out]

e^x*sin(e^x) + cos(e^x)

________________________________________________________________________________________

giac [A]  time = 0.12, size = 10, normalized size = 0.77 \[ e^{x} \sin \left (e^{x}\right ) + \cos \left (e^{x}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(2*x)*cos(exp(x)),x, algorithm="giac")

[Out]

e^x*sin(e^x) + cos(e^x)

________________________________________________________________________________________

maple [B]  time = 0.05, size = 24, normalized size = 1.85 \[ \frac {2 \,{\mathrm e}^{x} \tan \left (\frac {{\mathrm e}^{x}}{2}\right )+2}{1+\tan ^{2}\left (\frac {{\mathrm e}^{x}}{2}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(exp(2*x)*cos(exp(x)),x)

[Out]

(2*exp(x)*tan(1/2*exp(x))+2)/(1+tan(1/2*exp(x))^2)

________________________________________________________________________________________

maxima [A]  time = 0.32, size = 10, normalized size = 0.77 \[ e^{x} \sin \left (e^{x}\right ) + \cos \left (e^{x}\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(2*x)*cos(exp(x)),x, algorithm="maxima")

[Out]

e^x*sin(e^x) + cos(e^x)

________________________________________________________________________________________

mupad [B]  time = 2.23, size = 10, normalized size = 0.77 \[ \cos \left ({\mathrm {e}}^x\right )+\sin \left ({\mathrm {e}}^x\right )\,{\mathrm {e}}^x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(exp(x))*exp(2*x),x)

[Out]

cos(exp(x)) + sin(exp(x))*exp(x)

________________________________________________________________________________________

sympy [A]  time = 10.68, size = 12, normalized size = 0.92 \[ e^{x} \sin {\left (e^{x} \right )} + \cos {\left (e^{x} \right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(exp(2*x)*cos(exp(x)),x)

[Out]

exp(x)*sin(exp(x)) + cos(exp(x))

________________________________________________________________________________________